import request from '../request'

// 登录请求
export const login = (data)=>{

    return request({
        url:'login',
        method:'post',
        data
    })
}
export const logout = ()=>{
    return request({
        url:'logout',
        method:'get'
    })
}